# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=wlclock
pkgver=1.0.1
pkgrel=0
pkgdesc="Digital analog clock for Wayland desktops"
url="https://git.sr.ht/~leon_plickat/wlclock"
license="GPL-3.0"
arch="all"
makedepends="
	meson
	cairo-dev
	wayland-dev
	wayland-protocols
	scdoc
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~leon_plickat/wlclock/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check" # no test suite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
426ee85a0b7f896b4d471a799e1f808876e8a915464b720584ca9514c79d982629a40cfef63d54c9135dbd734510c08d1265b407c08cfb149bc32edba987a435  wlclock-1.0.1.tar.gz
"
